package com.yt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @Classname AppConfigCenter3001
 * @Description
 * @Date 2021/10/22 20:19
 * @Create by 杨涛
 */
@SpringBootApplication
@EnableConfigServer
public class AppConfigCenter3001 {
    public static void main(String[] args) {
        SpringApplication.run(AppConfigCenter3001.class,args);
        //访问路径：
        //http://config3001.com:3001/config/test/master
//        http://config3001.com:3001/config/test
        //http://config3001.com:3001/config-dev.yml
//        http://config3001.com:3001/master/config-dev.yml
        //查到了一个 配置
    }
}
